{include file="public/header,public/nav,public/fixbar" title="考试排行榜-<?php echo request()->pc_info['seo_title']?>"/}
<div class="practice-header">
    <div class="layui-container" style="padding: 0 15px;">
        <div class="space-between">
            <a href="javascript:history.back()" class="align-items-center layui-font-16"><i class="layui-icon layui-icon-left margin-right-5"></i>返回</a>
            <h3 class="justify-content-center"><img src="/static/images/rank/title_decorate_icon.png"><span class="practice-header-title">{$info.name}</span><img src="/static/images/rank/title_decorate_icon.png"></h3>
            <p></p>
        </div>
    </div>
</div>
<div class="layui-body padding-top-130">
    <div class="layui-container">
        <div class="ranking-header space-between margin-bottom-10" style="height: 160px;background-color: #16b777;border-radius: 5px;">
            <img src="/static/images/rank/header_text.png" class="image">
            <img src="/static/images/rank/header_top.png" class="image">
        </div>
        <div class="layui-main min-height-65vh">
            <div class="zent-block-header block-header">
                <div class="zent-block-header__title zent-block-header__title-ribbon">
                    <h3>考试排名</h3>
                </div>
            </div>
            <div class="rank-list">
                {if $list}
                    {foreach $list as $key => $v}
                    <div class="layui-elem-quote rank-list-item space-between">
                        <div class="align-items-center">
                            {if $key == 0}
                                <img src="/static/images/rank/order_1.png">
                            {elseif $key == 1}
                                <img src="/static/images/rank/order_2.png">
                            {elseif $key == 2}
                                <img src="/static/images/rank/order_3.png">
                            {else}
                                <span class="order">{$key}</span>
                            {/if}
                            <div class="align-items-center">
                                <img class="margin-right-15" style="width: 32px;height: 32px;border-radius: 50%;margin-left: 30px;" src="{$v.user.avatar}">
                                <span>{$v.user.nickname_two}</span>
                            </div>
                        </div>
                        <div>
                            <span class="text layui-font-16">考试得分：</span>
                            <b class="layui-font-20 {if $key < 3} layui-font-success {/if}">{$v.max_score} 分</b>
                        </div>
                    </div>
                    {/foreach}
                {else}
                    <div class="layui-empty"><img src="/static/images/nodata/no_exam.png"><p>暂无考试排名~</p></div>
                {/if}
            </div>
        </div>
    </div>
</div>
{include file="public/footer"/}